-
Home
-
wpForo Forum
-
2.0.9
-
Code
-
Classes
- Permissions
| Total Complexity |
125 |
| Dependencies |
2 |
| Dependents |
1 |
| Total lines |
455 |
| Lines of code |
345 |
| Logical lines of code |
205 |
| Comment lines |
45 |
| Methods |
22 |
| Properties |
3 |
Methods 22
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| forum_can() |
B |
48 |
20 |
27 |
| user_can_manage_user() |
A |
48 |
17 |
29 |
| user_can_edit_account() |
A |
58 |
13 |
12 |
| can_post_now() |
A |
47 |
9 |
34 |
| get_forum_accesses_by_usergroup() |
A |
54 |
10 |
19 |
| user_wp_level() |
A |
55 |
9 |
18 |
| can_attach() |
S |
59 |
7 |
12 |
| add() |
S |
50 |
4 |
32 |
| get_access() |
S |
58 |
4 |
15 |
| show_accesses_selectbox() |
S |
61 |
4 |
12 |
| init_defaults() |
S |
43 |
1 |
49 |
| init() |
S |
65 |
4 |
9 |
| can_link() |
S |
65 |
4 |
8 |
| can_attach_file_type() |
S |
73 |
4 |
4 |
| delete() |
S |
60 |
3 |
13 |
| can_edit_user() |
S |
64 |
3 |
10 |
| edit() |
S |
60 |
2 |
13 |
| fix_access() |
S |
62 |
2 |
11 |
| __construct() |
S |
68 |
2 |
8 |
| init_cans() |
S |
79 |
1 |
3 |
| init_current_user_accesses() |
S |
80 |
1 |
3 |
| get_accesses() |
S |
73 |
1 |
4 |